package cjyyp.Test;

public class test01 {
    public static void main(String[] args) {
        String s1=new String("a");
        s1.intern();
        String s2="a";
        System.out.println(s1==s2);
        String s3=new String("b")+new String("c");
        s3.intern();
        String s4="bc";
        System.out.println(s3==s4);
    }
}
